package org.vectrics.company;

/**
 * @author mmoore
 */
public class CompanyPersonRoleType {
	public static String ROLE_EMPLOYEE = "emp";
	public static String ROLE_CONTRACTOR = "consult";
	public static String ROLE_LEGAL = "law";
	//public static String ROLE_NOT_EMPLOYEED = "not-empl";
	
    private String code = null;
    private String description = null;
    private String category = null;
    private Boolean personOverlapAllowed = new Boolean(true);
    private Boolean companyOverlapAllowed = new Boolean(true);
    private Boolean voided = new Boolean(false);
    
    /**
     * @return Returns the code.
     */
    public String getCode() {
        return code;
    }
    /**
     * @param code The code to set.
     */
    public void setCode(String code) {
        this.code = code;
    }
    /**
     * @return Returns the description.
     */
    public String getDescriptionCode() {
        return description;
    }
    /**
     * @param description The description to set.
     */
    public void setDescriptionCode(String description) {
        this.description = description;
    }
    
    
    /**
     * @return Returns the category.
     */
    public String getCategory() {
        return category;
    }
    /**
     * @param category The category to set.
     */
    public void setCategory(String category) {
        this.category = category;
    }
    /**
     * @return Returns the companyOverlapAllowed.
     */
    public Boolean getCompanyOverlapAllowed() {
        return companyOverlapAllowed;
    }
    /**
     * @param companyOverlapAllowed The companyOverlapAllowed to set.
     */
    public void setCompanyOverlapAllowed(Boolean companyOverlapAllowed) {
        this.companyOverlapAllowed = companyOverlapAllowed;
    }
    /**
     * @return Returns the personOverlapAllowed.
     */
    public Boolean getPersonOverlapAllowed() {
        return personOverlapAllowed;
    }
    /**
     * @param personOverlapAllowed The personOverlapAllowed to set.
     */
    public void setPersonOverlapAllowed(Boolean personOverlapAllowed) {
        this.personOverlapAllowed = personOverlapAllowed;
    }
    
    /**
     * @return Returns the voided.
     */
    public Boolean getVoided() {
        return voided;
    }
    /**
     * @param voided The voided to set.
     */
    public void setVoided(Boolean voided) {
        this.voided = voided;
    }
}
